<template>
 <div class='app'>
      <p v-for="(item,index) in lists" :key="index">
          {{item.name}}
          </p>  
 </div>
</template>

<script>
   export default {
      data() {
          return {

          }
      },
      //生命周期 - 创建完成
     created(){ 
       
     },

     //DOM挂载完毕
     mounted() {

     },
     props:["lists"],
      methods: {


      },
 }
</script>

<style lang='less' scoped>

</style>